/*
 *  $Id: HotSeat.cs 1193 2010-11-14 13:59:43Z thenn.erannor $
 *  This file is a part of Ragima CCG.
 *  (C) 2008-2009 Ragima development group.
 *
 *  Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima {
    public class HotSeatGameMode : GameMode {
        public override PlayerInfo Player1 {
            get { return Application.Config.Player1; }
        }
        public override PlayerInfo Player2 {
            get { return Application.Config.Player2; }
        }

        public override Player GetMainPlayer(bool side, Player player1, Player player2) {
            return side ? player2 : player1;
        }
    }
}
